/*
 * v1.1 by tonydon site:txdnet.cn
 * netbeansIDE 7.1
 */
package cn.txdnet.txcms.mapper;

import cn.txdnet.txcms.domain.Links;
import cn.txdnet.txcms.query.LinksQuery;
import java.util.List;
import java.util.Map;

/**
 *
 * @author txdnet
 */
public interface LinksMapper {
    int insertLink(Links lk);
    int deleteLink(int[] ida);
    int updatePubstate(Map m);
    int updateLink(Links lk);
    int updateWeight(Map m);
    int updateCatalog(Map m);
    int countByFactor(LinksQuery query);
    int queryMaxWeight();
    List<Links> listByFactor(LinksQuery query);
    Links queryLink(int lkid);
}
